package oops;


public class ClassAndObjectDemo {
	
	public static void main(String[] args) {
		
		
		Student s1= new Student();
		s1.setId(1);;
		s1.setName("David");
		
		Student s2 = new Student();
		s2.setId(2);
		s2.setName("Mikael");
		
		s1.displayData();
		s2.displayData();
		
		Student s3= new Student(3, "Lars");
		s3.displayData();
		
		
		
		
	
	}

}
